updating public and private views