update path for scala