further refactoring of datetime view update functions