Update logic in request