Updated how to use code