Updates sources (w/ optimization)