Refactor.
Update project.updated timestamp when new task or updated one.
Update app.updated column when taskrun inserted or updated.