copy changes for edit gallery