Updating with mysqli compatible database class.