Update API used to leave room