Generated profile controller
Update profile and added scoped stats updates to it