modified SP to not select fields that are not being saved to db