updated ui to match new object type, the caption is not yet working