update a part