Add background file and var
Remove unused update functions and calls