Adding or removing a library membership