function dbem_update_location($location) { $EM_Location = new EM_Location($location); $EM_Location->update(); }