The usage of _update was wrong, and add unittest to cover this Change-Id: I361240eb64a9b0c91bbe3598555fc234b9bfa60c