commit changes for select