update button code and home layout