updated get_object_url/2