saving snow to database