updating documentation, fixing stuff