adding postmerge hook