Implemented Merge method for Resource