updates on google api, replaced notFoundException with flashbag