update ace editor, auto sizing