- update to using data from database  local