updating portal prototype