refactor some of the update/upgrade functions to work properly with new homepage layouts setup