Update for the dynamic action genaration by BuddyPress 2.0