updated image api client endpoint