updates mesh elements