add calendar entity and document entity