update verify method