Updated the Function views