update todo code in pdf