modifying database