boolean update error undefined method