Refactor worker model in deps diff method