add beam template and update package and beam