adding revision to patch