Add Update function

Update an associative array with conditions into a MySQL database