Only updating when there is something to update