Add post save hook