Change output of update_resource method to return resp status and updated resource