updating layout editor ifdef