updating layouts and home