update add contract  add long_time