refactored set_current_term to take advantage of .update()