updating sessions, materials, style, index