change location post method