Simple rules for protonation state and hydrogen placement are automatically applied to ensure that the ligand is modeled in the correct charge state for physiological conditions. The edited molecule is then aligned with the existing molecule within the current binding pose and the new chemical identity is inserted into the modeled protein.