DB update and add a tool to correct things