Profile API updated