fix update api url, tests and change update params