Updating JSon post and get requests