Updated profile controller