Update documenation and introduce notes fro resize and resize context