Fixed update token problem