update formula for changes in dependencies