Overwriting database each command.