Update last-access stats handler to pass new metadata