updated the database, added payment model