Made execute return a value for a insert query.