Updated the variables list_types expects
Fixed the url for view_instance