ADD mysql_update() api

wrapped up the mysql update section to a function call