Trying to implement auto update