commit changes for registration