update
open function for linux