Update jwt and fix broken code from update