finally ran sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade in terminal and update fine