update panels controller; add to images sub-document model