Have you tried hooks? https://frappe.io/docs/user/en/guides/basics/hooks
An on_update hook for Project doctype could work.