Change all update queries to use the new preparedStatement format for
better handling of updates.