handles DB schema changes