fixed updating method for jarvis