add flushall & snapshot commands
update handler