re-design db