change method to PUT, the same as the official api, remote api has
adopted put behavior as well