DB remake and reg update