resolved the updates query and layout for logs