updated database number and rebuilt