Update and extend documentation