Update queries to use InnoDB