Upon receipt of moneys representing assessments collected by the county, the treasurer shall deposit the moneys in the treasury of the local agency to the credit of an improvement fund for the assessment district from which they were collected, and the moneys shall be expended only for the improvements authorized for such district.