generate controller code commit