update typing method for last resource change