update, adjust layout