added update code for hangout api