update ghosting