update contracts