changed db.conn.commit to db.conn.commit(), saves!