mlp rwmlp error diff update