Updated psycopg2 to 2.5