how do i update firefox on my mac os to 10.9 on my laptop

Solution
In Firefox, click on Help then About Firefox and you should see a form with a link named "Restart Firefox to update". Click on that and it should take care of the job by itself.