Implement upd command