Update user_activities.php