changes for register, reset, unlock