minor improvements, added Command interface and UpdateInterpreter