update contract terms