updated nereus code to work with backend database pauseing grabbing all data ect