Change delta_time from nanoseconds to seconds and updated example