update query to sync java model case sensitive