add write method
update manifest