Added methods to update the parameters of a term, depending of its type.

Signed-off-by: Jedabero <jedabero@hotmail.com>