Open your text editor. At the first line write
#!/bin/bashPress enter and below this line type:
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
Save it as "update.sh" - or any other name you would prefer.
Right click your script and on the "Permissions" tab set a checkmark near Execute - allow executing file as a program.
Now every time you boot-up your Kali, instead of typing the whole thing into a terminal, just run your script.