Modified the views.py in order to accept the new keys to the data