update the add command