add photo field in database