Updating function for better reuse
Updating body backgorund