find, update and insert