Added Oppty updating func,logic to render quickly, properly commented and used global constants