updates on the shape alignment