A Robbins-Monro procedure for a class of models of deformation