add disabled flag to entities