added edit command.