add update command.
fix a bug at deletion.
add version-number.