big update

connected to database