Name editing works

Fixed error in documentation
Forgot to tab the try block