update public controller