fixed editor with new api changes to entities