Ubuntu 19.10 | System Freez every now and then for seconds

for the last 2 week i had this issue coming up every now and then at first it i ignore it because i assume that it could be a regular once a while freez that will just require to restart you machine and your good to go, but after facing it more than 5 times this week, i knew something was wrong and i was afraid that it could be a hardware issue for keeping the laptop on stand by all the time, so i checked the logs by using the tail command as follow:
tail -f /var/log/syslog
and i note that there was a error
kernel: [42207.971157] i915 0000:00:02.0: Resetting rcs0 for hang on rcs0
that caused the service to restart after freezing for couple of seconds so i checked if anyone had this issue and it turned out that indeed other also had the same problem and the cause was related to intel graphics and the kernal where on of which was needing a update, so the solution was simple as follow:
sudo apt-get update
sudo apt-get upgrade

now the system works fine! (:

Update .. the issue was still present and i had to wait for the kernal new update or just upgrade to the new release .. i upgraded to the new release and the issue was solved preeminently