update regex for profile photo