Fixed update examples to work with PostgreSQL