updating source value