removed 2 buttons and fixed updatelocal