when update context size, update size of childs also