update tab on rails