updated before_filter in projects to have update