Update some button with function