updated derivatives