fix update api url, test and change update params