add promise to #register, #unregister