Update database template for Postgres before creating it