update layoutmanager