update commands documentation to reflect current code