Changed update from post to get.