updating changes to term plan js