update contracts and resources