fixed update api
Merge remote-tracking branch 'origin/master'