added update functionality to JARVIS