setting default headers and adding short function for PATCH