Correctly send update only if there are actions