Call commit() to insert data into db

Missing `conn.commit()`.