I wish you success but it's not so easy and it will take time to change.
I also think that without a proper diet plan going to gym is kind of useless efforts in my opinion. In fact, I feel proper diet plan without gym is more effective compare to gym without diet plan.
it will take time, months i guess
yes you are right, diet is more important than the gym