Set ace editor value on change