saving record to database (without data)