finalise manifest