update materials