Dropping lock parameter from update APIs.

Reviewed at https://reviews.apache.org/r/24744/