fixed wrong checking if-clause that scheduled update on not modified records instead of modified