Updates Resource model