using stored procedure for db insertion