only update loc list on UpdateSrcFile if validating

fixes #321
fixes #323