finish update layout