generic update commit