update seed code