It was hiding in the manage_new_data(). It generated the standalone url for the annotations in the old hardcoded way. Fixed.