update includes and compileAttributes()