update
added PictureWidget
implemented basic logic