bugs fixing on Upload Registration. Photo path is missing after application is updated.