You cannot amend your tickets online. Railways support one–time amendment in the boarding station and passenger name (only passenger’s blood relatives are allowed to replace the passenger). To amend your ticket, you can approach the nearest railway reservation counter with your e–ticket printout and the valid photo ID proof of any of the passengers, 24 hours before the departure of the train.