modifying database for direct children