updating psql backup script and attributes