Adds functionality to remove avatar image with empty string in payload