update spec; add key and tag commands