Adding database inserts