change redirects on errors. update tank edit