moving update_manifest out of src