finalize deployment