Update application layout and switch application to haml