Making changes to the database with pg