Added the api call that sets the status