How to change sleeping habits on 24hr flight?

Takes time. Jet lag stems from a disconnect between the internal clock and the external light-dark cycle. Don't expect to immediately fall into your same sleep cycle after flying across the globe. Lots of light exposure in the morning can help, as can a dark environment and melotonin at night. This is an unnatural problem often requiring unnatural solutions, and prescription sleep meds can help immensely.