update replace .equals with ==