updated active tab in show course