Updating material ui