change api to get