added nil check
commented out code that is not used right now
renaming update service