Update theme handling.