update com.google.gerrit.extensions api

- adopt implementation to api updates