update MLP model