Update Redirect class and DB class