Fixed partialUpdate

fix compile error