fix update api url
remove update params and fix test