Astagfirullah why are you beating ? You are in no place or right to do that. It's literally haram to lay hand on a woman let alone beat her. Talk to her , inform her , pray to Allah swt for her guidance and if that doesn't work cut ties. Why are you beating??