updated the time and layout