FIxed the redirect to not return the index after edit