Refresh action
Small bug in merge logic