updating the stitching