updated database structures.