updated inches and centimers events and updated ids in templates