update edit profile validation

Signed-off-by: Lucas L <lucas@nuxbox.me>