Added self-update method for post commit hook