fixed functions to update user info and docs
changes to views