update jwt code