updated database and php db