commit changes in contacts table