Refactored some code and update method now deletes old avatar