Bugfix on call api after update token