deploy code with new active method