updated css and set name action