updating lib view