added entity framework save procedure