MySQL compat for all update queries. Fixed bug with message reporting