Updated history command