streamlined repository update and insert functions