Update format issues and time_difference method