Merge changes from main context to background context