changed post to put on request