updating headers and requirements to work with components and realms