Fix update and insert for new api content provider