refactored code to use new manual update and wrote stub for timer