updates lib type on submission