registration validation updated