Updating Url during ajax call