Update filename for proper rendering.