fixed the mysql update commands
fixed the mysql update commands