update to MySQL database