updatecommit, original implementation during summer