updated database and model libraries