update diagram orientation edit controller