update main div class