Updating database; improving outputs.