update api of save_signal