Split updateGraph method into two: pagesAndRevision and users
Other minor fixes and boilerplates comments added
Signed-off-by: Alessandro Tundo <alessandrotundo94@gmail.com>