manifest update function