Reimplemented linear distance model and sources theoretically know how to update themselves