update sign out API