updated share controller