up: generate src