fix the deploy function
update the select request
using delegate