update mask demo to contain ghost