#74 updating conditions for cors