refresh package state on client whenever library state changes