updating views after leaving course