update edit button, override rearrange function