add a default case, correct "attatch, add an update command