Added update-by-function to entity component store