Fix preiodic sensor update implementation
still trying to deal with the merge errors