updated sources and sinks