database updated and testing formatted