Implementation of merge functionality when record has been changed on both sides.