fix: clear member cache when modifications are made #1335