implement profile pages with update