Update env contents when they change in editor