update editing elements