Adding connection to the database
Updating item page