adding pipeline to save bodies in mysql table