UPDATE  recommendation function