commit changes to links