upgraded grid and slide to get the info from database