implemented post's PUT method at views.py