Add editing photo and validate db fields