Update submit to redirect when assertions pass