bug fix in add part, update part added