update src ref on sample