changes in releasing and synchronizing

(cherry picked from commit 8d7f937129bce2d442b32eb0d87ed8caf64694b3)