update BlogPostImage to check for null field