Maurya & Kiran | Refactored the code for updating user preference.