updating hero to have conditional styling