improved refreshing of views