add a keymanager