implement put latest