update 'add' command