bug fixed in updating profile pic