added con.commit() otherwise won't work