Removed date argument from update_local_positions_file function.