added prediction and model updates.. post request working