add method for save or update strain