small updates to the database layout