updated to add empties to db