revises database