update some button and map