add end learning cycle command