update class mysqlManager