Question: is upon before or after?
Answer: Upon is also used to mean 'immediately after', as in 'Upon his release from prison, Davis went immediately to his mother's house'.