fixed documentation & added rename example