updated libries and database connection, still not finished yet