updated buttons, linked with javascript