change get to post on create