updated registration module