Set variables locally for easier use in the views
Update get method