changed database name to the proper collection in the database