update imgs and view