Fixed 'edit command does not update command'