Minor only update new images to png

introduced minor sanity check for before_save hook-in.