updated database and json