Update .define -> .register.