updates frontend to differentiate online and available