From Battlestar Wiki, the free, open content Battlestar Galactica encyclopedia and episode guide

Zoe-R instructs Serge to purge all post-death references to Zoe from its database (CAP: "Gravedancingdeleted scene).

Note: Chroma-stick with LED is used as a practical stand-in for Serge during shooting, with instructions to the VFX team to "add Serge" in post-production.