update api to match with the change in users