Updated tern