Update index.md

Added info to update the database when working with Doctrine ORM