Updating json object in mysql database