So i finally fixed this issue myself.
The issue was that the bios update changed the PCH SATA Control Mode to ACHI or IDE (i forgot).
So it wasn't due to avast but due to a bios setting changed. But i tried to set it to the default settings and last working settings and it didn't work.
So now it is finally solved.
Thank you for your help though