Prepare to #31
Fix #40: CLI: Update database