This code will only execute in case of Profile Pic Update where pdf is not expected.