Update the post_save hook so it does not get executed when loading raw data